package com.zb.service.Impl;

import com.zb.mapper.Impl.UserMapperImpl;
import com.zb.mapper.UserMapper;
import com.zb.service.UserService;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service("UserService")
public class UserServiceImpl implements UserService {
    @Resource(name="userMapper")
    private UserMapper userMapper;
    public void save() {
        userMapper.save();
    }
}
